package com.example.othree.service.impl;

import com.example.othree.mapper.WeatherCaseDayMapper;
import com.example.othree.service.WeatherCaseDayService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;

@Service
public class WeatherCaseDayServiceImpl implements WeatherCaseDayService {

    @Resource
    WeatherCaseDayMapper weatherCaseDayMapper;

    @Override
    public List<HashMap<String, String>> OzoneCaseDayForTime(String startTime, String endTime, String city) {
        return weatherCaseDayMapper.weatherByTime(startTime, endTime, city);
    }
}
